﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace TrainingReminderSystem.Model
{
    /// <summary>
    /// 岗位角色表
    /// </summary>
    public partial class SysRolePost
    {
        /// <summary>
        /// 岗位角色ID
        /// </summary>
        [Key]
        public int SysRolePostID { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public int SysStoreID { get; set; }

        /// <summary>
        /// 岗位角色名称
        /// </summary>
        public string SysRolePostName { get; set; }

        /// <summary>
        /// 拼音
        /// </summary>
        public string PY { get; set; }

        /// <summary>
        /// 关联角色ID;命名没采用ParentID
        /// </summary>
        public int? RelationID { get; set; }

        /// <summary>
        /// 最后修改 员工ID
        /// </summary>
        public int? UpdateSysEmployeeID { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? UpdateDate { get; set; }

        /// <summary>
        /// Remark
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 是否删除 正常=0,删除=1
        /// </summary>
        public bool IsDel { get; set; }

        #region 外键表

        public List<SysRolePostEmployeeRelation> SysRolePostEmployeeRelation { get; set; }

        public List<SysRolePostPowerRelation> SysRolePostPowerRelation { get; set; }

        public SysStore SysStore { get; set; }

        #endregion
    }
}
